package com.czk.model.adaptor.objectAdaptorPra;

/**
 * @Author:ChenZhangKun
 * @Date: 2020/6/11 23:30
 */
public class Glass {
    public void addWater(WaterPipAdaptor waterPipAdaptor){
        int output = waterPipAdaptor.output();
        if (output>50){
            System.out.println("排量过大不能加水");
        }else {
            System.out.println("加水ing");
        }
    }
}
